home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / hearts.swf / scripts / DefineSprite_638 / frame_1 / DoAction_19.as < prev    next >
Encoding:
Text File  |  2011-12-21  |  1.8 KB  |  55 lines

  1. this.globalsoundcontrol = "play";
  2. this.fade = "in";
  3. this.soundPlay = "true";
  4. this.createEmptyMovieClip("loop",10000000);
  5. this.loop = new Sound(loop);
  6. this.loop.attachSound("loop");
  7. this.loop.start();
  8. this.loop.onSoundComplete = function()
  9. {
  10.    this.start();
  11. };
  12. this.initLoopVolume = 80;
  13. this.loopvolume = 0;
  14. this.loop.setVolume(0);
  15. this.createEmptyMovieClip("shoot1",10000001);
  16. this.shoot1 = new Sound(shoot1);
  17. this.shoot1.attachSound("shoot1");
  18. this.shoot1.setVolume(24);
  19. this.createEmptyMovieClip("hit1",10000003);
  20. this.hit1 = new Sound(hit1);
  21. this.hit1.attachSound("hit1");
  22. this.hit1.setVolume(30);
  23. this.createEmptyMovieClip("hit2",10000004);
  24. this.hit2 = new Sound(hit2);
  25. this.hit2.attachSound("hit2");
  26. this.hit2.setVolume(22);
  27. this.createEmptyMovieClip("orb",10000005);
  28. this.orb = new Sound(orb);
  29. this.orb.attachSound("orb");
  30. this.orb.setVolume(110);
  31. this.createEmptyMovieClip("puSound",10000006);
  32. this.puSound = new Sound(puSound);
  33. this.puSound.attachSound("puSound");
  34. this.puSound.setVolume(160);
  35. this.createEmptyMovieClip("breakSound",10000007);
  36. this.breakSound = new Sound(breakSound);
  37. this.breakSound.attachSound("breakSound");
  38. this.breakSound.setVolume(40);
  39. this.createEmptyMovieClip("flyHitSound",10000008);
  40. this.flyHitSound = new Sound(flyHitSound);
  41. this.flyHitSound.attachSound("flyHitSound");
  42. this.flyHitSound.setVolume(80);
  43. this.createEmptyMovieClip("hHit1",10000009);
  44. this.hHit1 = new Sound(hHit1);
  45. this.hHit1.attachSound("hHit1");
  46. this.hHit1.setVolume(120);
  47. this.createEmptyMovieClip("hHit2",10000010);
  48. this.hHit2 = new Sound(hHit2);
  49. this.hHit2.attachSound("hHit2");
  50. this.hHit2.setVolume(120);
  51. this.createEmptyMovieClip("beep",10000011);
  52. this.beep = new Sound(beep);
  53. this.beep.attachSound("beep");
  54. this.beep.setVolume(80);
  55.